package com.bt.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description TODO
 * @Author 青
 * @Date 2023-05-02 11:42
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("文章列表 分页查询")
public class YddArticleListDTO {
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Long create_date;

    private Long start_time; //开始时间戳

    private Long end_time; //结束时间戳

    private String title; //文章标题，支持模糊查询

    private Integer cateid;  //文章分类id

    private int page;//文章页码

    private int limit; //每页数量
}
